package com.example.demo.mapper;

import com.example.demo.pojo.Module;
import com.example.demo.pojo.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {

    void add(Role role);

    List<Role> list();

    void update(Role role);

    boolean del(int id);

    List<Module> module(String idlist);

    Role idlist(String id);

    String getlevelAll();
}
